<!DOCTYPE html>
<html class="settings-main_background" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name="keywords" content="{dede:field name='keywords'/}" />
<meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
<meta name="format-detection" content="telephone=no, email=no">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/skin/css/bootstrap.min.css" />
<link rel="stylesheet" href="/skin/css/font-icons.css" />
<link rel="stylesheet" href="/skin/css/head.css" />
<link href="/skin/css/base-160225.min.css" media="screen" rel="stylesheet" type="text/css">
<link href="/skin/css/iconfont.css" media="screen" rel="stylesheet" type="text/css">
<link href="/skin/css/iconfont-1.css" media="screen" rel="stylesheet" type="text/css">
<link href="/skin/css/main.css" media="screen" rel="stylesheet" type="text/css">
<link href="/skin/css/user.css" media="screen" rel="stylesheet" type="text/css">
<link href="/skin/css/aos.css" media="screen" rel="stylesheet" type="text/css">
<link href="/skin/css/youpage.min.css" media="screen" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/skin/js/jquery.min.js"></script> 
<script type="text/javascript" src="/skin/js/bootstrap.min.js"></script> 
<script src="/skin/js/tracker-0.0.2.min.js"></script>
<script src="/skin/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<script src="/skin/js/lazyload.min.js" type="text/javascript"></script>
<script src="/skin/js/aos.js" type="text/javascript"></script>
</head>
<body>
{dede:include filename="head.htm"/}
<div class="post-pic"><img src="/skin/images/post_pic.png" alt=""></div>
<div class="wrapper">
	<div class="cont">
		<div class="main-box aboutadd">
		  <div class="about-top">
			<div class="son-nav">
			  <ul>
				{dede:channel type='son' currentstyle="<li><a class='cur' href='~typelink~'>~typename~</a></li>"}
				<li><a href="[field:typelink/]">[field:typename/]</a></li>
				{/dede:channel}
			  </ul>
			</div>
			<div class="breadcrumb">
			 当前位置：{dede:field name='position'/}
			</div>
		  </div>
		  <div class="con">
			{dede:field.content/}
			<div id="allmap"></div>
		  </div>
		</div>
	</div>
</div>
{dede:include filename="footer.htm"/}
<script src="/skin/js/map.js"></script>
<script>
  $(function () {
    ShowMap('{dede:global.cfg_zuobiao/}', 'cname', 'address', 'tel', 'fax', 'email', '18');
  })
  
  function ShowMap(zuobiao, name, addrsee, phone, chuanzhen, email, zoom) {
    var arrzuobiao = zuobiao.split(',');
    var map = new BMap.Map("allmap");
    map.centerAndZoom(new BMap.Point(arrzuobiao[0], arrzuobiao[1]), zoom);
    map.addControl(new BMap.NavigationControl());
    var marker = new BMap.Marker(new BMap.Point(arrzuobiao[0], arrzuobiao[1]));
    map.addOverlay(marker);
    var infoWindow = new BMap.InfoWindow('<p>{dede:global.cfg_tel/}<br>{dede:global.cfg_dz/}</p>');
    marker.addEventListener("click", function () {
      this.openInfoWindow(infoWindow);
    });
    marker.openInfoWindow(infoWindow);
  }
</script>
</body>
</html>